package reflection;

public class Cat {

    public String name = "招财";

    public int age = 10;

    public Cat() {

    }

    public Cat(String name) {
        this.name = name;
    }

    public void hi() {
//        System.out.println("hi:" + name);
    }

    public void cry() {
        System.out.println("cry:" + name);
    }

}
